import axiosServer from "@/utils/request";

export const requestProductList = (pageNo=1,pageSize=15)=>{
    return axiosServer({
        method:'get',
        url:'/api/shop/list',
        params:{
            pageNo,
            pageSize
        }
    })
}
/****
 * 商品详情接口
 */
export const requestproducdetail=(id)=>{
    return axiosServer({
        method:'get',
        url:'/api/shop/find',
        params:{
            id
        }
    })
}